#ifndef tranzam_main
#define tranzam_main

#include "../../../../../axl_framework.h"
#include "../libraries/mappyal.h"
#include "game_car.h"

using namespace AXL_Projects;

//constants
	const float PI_Conv=AL_PI/180;

//function declarations
	//transam.cpp
	bool SetupGame();
	void EndGame();
	
	//game.cpp
	bool TransAmGameLogic();
	bool TransAmGameDrawing();
	bool NewLevel();
	void CleanUp();
	bool InitialiseLevel();
	bool LoadLevel();

//globals
	//main library variables
	extern Framework* GameFramework;			//framework
	extern AnimationLibrary* GameLibrary;		//our graphics library
	extern Configuration* GameConfiguration;	//our configuration object

	//main game variables
	extern Animation* DisplayPanel;

	//map stuff - where to show the map
	extern int ScreenXOffset;
	extern int ScreenYOffset;
	extern int ShownMapWidth;
	extern int ShownMapHeight;

	//car
	extern fix FIX_ANGLE[];

#endif
